package com.adrian.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Auther: Adrian
 * @Date: 2020/3/19 20:29
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Product implements Serializable {
    private int pid;
    private String pname;
    //private int p_tid; //外键 关联映射可以使用过对象表示
    private Type type;  //使用对象表示外键
    private int pnumber;
    private String punit;
    private String premark;
    private int pdel;
}
